import org.eclipse.swt.SWT;

public class PropertyClass {
	public static final String action = "action";
	public static final String closeaction = "closeaction";
	public static final String receiveitem = "receiveitem";
	public static final String returnitem = "returnitem";
	public static final String senditem = "senditem";
	public static final String url = "url";
	public static final String gridlayout = "gridlayout";
	public static final String horizontalspacing = "horizontalspacing";
	public static final String makecolumnsequalwidth = "makecolumnsequalwidth";
	public static final String marginheight = "marginheight";
	public static final String marginwidth = "marginwidth";
	public static final String numcolumns = "numcolumns";
	public static final String verticalspacing = "verticalspacing";
	public static final String data = "data";
	public static final String id = "id";
	public static final String put = "put";
	public static final String version = "version";
	public static final String mode = "mode";
	public static final String resize = "resize";
	public static final String status = "status";
	public static final String styleclose = "styleclose";
	public static final String stylemax = "stylemax";
	public static final String stylemin = "stylemin";
	public static final String height = "height";
	public static final String left = "left";
	public static final String top = "top";
	public static final String width = "width";
	public static final String enabled = "enabled";
	public static final String visible = "visible";
	public static final String alignment = "alignment";
	public static final String autosize = "autosize";
	public static final String backcolor = "backcolor";
	public static final String colno = "colno";
	public static final String hint = "hint";
	public static final String rowno = "rowno";
	public static final String style = "style";
	public static final String type = "type";
	public static final String checkcellid = "checkcellid";
	public static final String colresize = "colresize";
	public static final String colwidth = "colwidth";
	public static final String header = "header";
	public static final String nocellid = "nocellid";
	public static final String notcopycellid = "notcopycellid";
	public static final String notcsvcolno = "notcsvcolno";
	public static final String sort = "sort";
	public static final String grabexcesshorizontalspace = "grabexcesshorizontalspace";
	public static final String grabexcessverticalspace = "grabexcessverticalspace";
	public static final String heighthint = "heighthint";
	public static final String horizontalalignment = "horizontalalignment";
	public static final String horizontalindent = "horizontalindent";
	public static final String horizontalspan = "horizontalspan";
	public static final String verticalalignment = "verticalalignment";
	public static final String verticalalspan = "verticalalspan";
	public static final String widthhint = "widthhint";
	public static final String font = "font";
	public static final String necessary = "necessary";
	public static final String capitaltype = "capitaltype";
	public static final String decimal = "decimal";
	public static final String echo = "echo";
	public static final String ime = "ime";
	public static final String kind = "kind";
	public static final String maxlen = "maxlen";
	public static final String maxnum = "maxnum";
	public static final String minlen = "minlen";
	public static final String minnum = "minnum";
	public static final String readonly = "readonly";
	public static final String tabindex = "tabindex";
	public static final String wrap = "wrap";
	public static final String index = "index";
	public static final String colid = "colid";
	public static final String displaytype = "displaytype";
	public static final String num = "num";
	public static final String checked = "checked";
	public static final String key = "key";
	public static final String offvalue = "offvalue";
	public static final String onvalue = "onvalue";
	public static final String actioncallevent = "actioncallevent";
	public static final String colnum = "colnum";
	public static final String rowfont = "rowfont";
	public static final String rowheight = "rowheight";
	public static final String rownum = "rownum";
	public static final String selectionaftersorted = "selectionaftersorted";
	public static final String nextaction = "nextaction";
	public static final String filename = "filename";

	public static final String[] allProperty = { action, closeaction,
			receiveitem, returnitem, senditem, url, gridlayout,
			horizontalspacing, makecolumnsequalwidth, marginheight,
			marginwidth, numcolumns, verticalspacing, data, id, put, version,
			mode, resize, status, styleclose, stylemax, stylemin, height, left,
			top, width, enabled, visible, alignment, autosize, backcolor,
			colno, hint, rowno, style, type, checkcellid, colresize, colwidth,
			header, nocellid, notcopycellid, notcsvcolno, sort,
			grabexcesshorizontalspace, grabexcessverticalspace, heighthint,
			horizontalalignment, horizontalindent, horizontalspan,
			verticalalignment, verticalalspan, widthhint, font, necessary,
			capitaltype, decimal, echo, ime, kind, maxlen, maxnum, minlen,
			minnum, readonly, tabindex, wrap, index, colid, displaytype, num,
			checked, key, offvalue, onvalue, actioncallevent, colnum, rowfont,
			rowheight, rownum, selectionaftersorted, nextaction, filename };

	public static final String[] propertiesForButton = new String[] {
			PropertyClass.put, PropertyClass.id, PropertyClass.top,
			PropertyClass.left, PropertyClass.height, PropertyClass.width,
			PropertyClass.data, PropertyClass.enabled, PropertyClass.type,
			PropertyClass.checked };
	// {width, alignment}
	public static final int[][] proColForButton = new int[][] {
			{ 100, SWT.LEFT }, { 150, SWT.LEFT }, { 40, SWT.RIGHT },
			{ 60, SWT.RIGHT }, { 60, SWT.RIGHT }, { 60, SWT.RIGHT },
			{ 70, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT } };

	public static final String[] propertiesForCombo = new String[] {
			PropertyClass.put, PropertyClass.id, PropertyClass.top,
			PropertyClass.left, PropertyClass.height, PropertyClass.width,
			PropertyClass.enabled, PropertyClass.readonly,
			PropertyClass.necessary, PropertyClass.colid,
			PropertyClass.displaytype, PropertyClass.type, PropertyClass.num };
	// {width, alignment}
	public static final int[][] proColForCombo = new int[][] {
			{ 100, SWT.LEFT }, { 150, SWT.LEFT }, { 60, SWT.RIGHT },
			{ 60, SWT.RIGHT }, { 60, SWT.RIGHT }, { 60, SWT.RIGHT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 200, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT } };

	public static final String[] propertiesForGroup = new String[] {
			PropertyClass.put, PropertyClass.id, PropertyClass.top,
			PropertyClass.left, PropertyClass.height, PropertyClass.width,
			PropertyClass.enabled, PropertyClass.readonly,
			PropertyClass.necessary };
	// {width, alignment}
	public static final int[][] proColForGroup = new int[][] {
			{ 100, SWT.LEFT }, { 150, SWT.LEFT }, { 60, SWT.RIGHT },
			{ 60, SWT.RIGHT }, { 60, SWT.RIGHT }, { 60, SWT.RIGHT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT } };

	public static final String[] propertiesForText = new String[] {
			PropertyClass.put, PropertyClass.id, PropertyClass.top,
			PropertyClass.left, PropertyClass.height, PropertyClass.width,
			PropertyClass.maxlen, PropertyClass.maxnum, PropertyClass.minlen,
			PropertyClass.minnum, PropertyClass.decimal, PropertyClass.ime,
			PropertyClass.kind, PropertyClass.data, PropertyClass.visible,
			PropertyClass.enabled, PropertyClass.readonly,
			PropertyClass.necessary, PropertyClass.type,
			PropertyClass.alignment, PropertyClass.capitaltype,
			PropertyClass.header };
	// {width, alignment}
	public static final int[][] proColForText = new int[][] {
			{ 100, SWT.LEFT }, { 150, SWT.LEFT }, { 60, SWT.RIGHT },
			{ 60, SWT.RIGHT }, { 60, SWT.RIGHT }, { 60, SWT.RIGHT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT }, { 150, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 60, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 150, SWT.LEFT } };

	public static final String[] propertiesForLabel = new String[] {
			PropertyClass.put, PropertyClass.id, PropertyClass.top,
			PropertyClass.left, PropertyClass.height, PropertyClass.width,
			PropertyClass.data, PropertyClass.visible, PropertyClass.alignment,
			PropertyClass.header };
	// {width, alignment}
	public static final int[][] proColForLabel = new int[][] {
			{ 100, SWT.LEFT }, { 150, SWT.LEFT }, { 60, SWT.RIGHT },
			{ 60, SWT.RIGHT }, { 60, SWT.RIGHT }, { 60, SWT.RIGHT },
			{ 150, SWT.LEFT }, { 60, SWT.LEFT }, { 60, SWT.LEFT },
			{ 150, SWT.LEFT } };

	public static final String[] propertiesForWindow = new String[] {
			PropertyClass.id, PropertyClass.version };
	// {width, alignment}
	public static final int[][] proColForWindow = new int[][] {
			{ 150, SWT.LEFT }, { 60, SWT.RIGHT } };
}
